package org.example.collection.infrastructure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.collection.domain.entity.CollectionStream;

/**
 * @author lly
 */
@Mapper
public interface CollectionStreamMapper extends BaseMapper<CollectionStream> {
    /**
     * 根据标识符查询
     *
     * @param identifier
     * @param streamType
     * @param collectionId
     * @return
     */
    CollectionStream selectByIdentifier(String identifier, String streamType, Long collectionId);

}
